$empty-padding: 48rpx 0;
$empty-image-size: 300rpx;
$empty-description-margin-top: 24rpx;
$empty-description-padding: 0 120rpx;
$empty-description-color: #999;
$empty-description-font-size: 28rpx;
$empty-description-line-height: 40rpx;
$empty-bottom-margin-top: 48rpx;

.s-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: $empty-padding;
  // margin-bottom: 100rpx;
  &__image {
    width: $empty-image-size;
    // height: $empty-image-size;
    &:empty {
      display: none;
    }

    &__img {
      width: 100%;
    }
  }

  &__image:not(:empty) + &__image {
    display: none;
  }

  &__description {
    margin-top: $empty-description-margin-top;
    padding: $empty-description-padding;
    color: $empty-description-color;
    font-size: $empty-description-font-size;
    line-height: $empty-description-line-height;
    &:empty {
      display: none;
    }
  }

  &__description:not(:empty) + &__description {
    display: none;
  }

  &__bottom {
    width: 100%;
    margin-top: $empty-bottom-margin-top;
  }
}
